package com.lingyistudio.blog.dao;

import com.lingyistudio.blog.entity.BlogBack;
import com.lingyistudio.blog.entity.BlogFront;

import java.util.List;

/**
 * @Author :  LingYi
 * @ClassName : BlogDao
 * @Date :   2019/7/29 14:08
 */
public interface BlogDao {

    List<BlogBack> findallBlogNeedCreateByDao(BlogFront blogFront);
    int addBlogDao( BlogFront blogFront );
    BlogBack findOneBlogDao( BlogFront blogFront );
    List<BlogBack> findAllBlogDao();
    int updateBlogDao( BlogFront blogFront );
    int updateBlogIsUsedDao( BlogFront blogFront );
    int updateBlogIsDeleteDao( BlogFront blogFront );

}
